package edu.cuit.zhuyimeng.uaa.dal.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用户角色关联表
 * @TableName uaa_user_role
 */
@TableName(value ="uaa_user_role")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserRolePO implements Serializable {
    /**
     * 用户id
     */
    private Long userId;

    /**
     * 角色id
     */
    private Integer roleId;

    @TableField(exist = false)
    @Serial
    private static final long serialVersionUID = 1L;


}